<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <!DOCTYPE html>
    <html>

    <head>
        <script src="https://www.liyansheng.top/cdn/watermark.js"></script>
    </head>

    <body>
        <h2>用户注册</h2>
        <form action="register" method="post">
            <label for="username">用户名:</label>
            <input type="text" id="username" name="username" required><br><br>
            <label for="password">密码:</label>
            <input type="password" id="password" name="password" required><br><br>
            <label for="phone">电话:</label>
            <input type="text" id="phone" name="phone" required><br><br>
            <button type="submit">注册</button>
            <a href="/login">已有账号，去登录</a>
        </form>
        <br>
        ${requestScope.msg}
    </body>

    </html>